<template>
    <el-main>
        <el-main class="ep-body">
            <epl-top-bar-double codetype="AAC058,AAB301" companyType="COMPANY_FROM_RB01" personType="PERSON_SOURCE_CONTINUE" 
                                :datas="{formData: form,tableData:tableData,panel: panel}">
            </epl-top-bar-double>
            <epl-InsuredInfo isCodeType :panel="panel"></epl-InsuredInfo>
            <el-collapse v-model="activeNames">
                <el-form :model="form" :rules="rules" ref="form">
                    <el-collapse-item title="个人信息" name="1">
                        <el-card class="ep-card">
                            <el-row :gutter="10">
                                <ep-select colspan="8" label="证件类型" name="aac058" :property="form.aac058" placeholder="请选择证件类型"  p="R" codetype="AAC058" isCodeType ></ep-select>
                                <ep-input  colspan="8" label="证件号码" name="aac147" :property="form.aac147"  placeholder="请输入证件号码" p="R" ></ep-input>
                                <ep-select colspan="8" label="国籍" name="aac161" :property="form.aac161" placeholder="请选择国籍"  p="R" codetype="AAC161" isCodeType ></ep-select>
                            </el-row>
                            <el-row :gutter="10">
                                <ep-input  colspan="8" label="社会保障号码" name="aac002" :property="form.aac002" p="R" placeholder="请输入证件号码" ></ep-input>
                                <ep-input  colspan="8" label="姓名" name="aac003" :property="form.aac003" p="R" placeholder="请输入姓名" ></ep-input>
                                <ep-select colspan="8" label="性别" name="aac004" :property="form.aac004" placeholder="请选择性别"  p="R" codetype="AAC004" isCodeType ></ep-select>
                            </el-row>
                            <el-row :gutter="10">
                                <ep-date colspan="8" label="出生日期" name="aac006" :property="form.aac006" placeholder="请选择出生日期" 
                                    p="R" format="yyyy-MM-dd" value-format="yyyyMMdd"></ep-date>
                                <ep-select colspan="8" label="民族" name="aac005" :property="form.aac005" placeholder="请选择民族"  p="R" codetype="AAC005" isCodeType ></ep-select>
                                <ep-select colspan="8" label="个人身份" name="aac012" :property="form.aac012" placeholder="请选个人身份"  p="R" codetype="AAC012" isCodeType ></ep-select>
                            </el-row>
                            
                            <el-row :gutter="10">
                                <ep-date colspan="8" label="参加工作日期" name="aac007" :property="form.aac007" placeholder="请选择参加工作日期" 
                                    p="R" format="yyyy-MM-dd" value-format="yyyyMMdd"></ep-date>
                                <ep-select colspan="8" label="户口性质" name="aac009" :property="form.aac009" placeholder="请选择户口性质"  p="R" codetype="AAC009" isCodeType ></ep-select>
                                <ep-select colspan="8" label="保密人员标志"  name="aac224" :property="form.aac224" placeholder="请选择保密人员标志"  p="R" codetype="AAC224" isCodeType ></ep-select>
                            </el-row>
                            
                            <el-row :gutter="10">
                                <ep-select colspan="8" label="学历" name="aac011" :property="form.aac011" placeholder="请选择学历"  p="R" codetype="AAC011" isCodeType ></ep-select>
                                <ep-select colspan="8" label="婚姻状况"  name="aac017" :property="form.aac017" placeholder="请选择婚姻状况"  p="R" codetype="AAC017" isCodeType ></ep-select>
                                <ep-input  colspan="8" label="固定电话" name="aae005" :property="form.aae005" p="R" placeholder="请输入固定电话" ></ep-input>
                            </el-row>
                            <el-row :gutter="10">
                                <ep-input colspan="8" label="手机号码" name="aac011" :property="form.aac011" placeholder="请输入学历"  p="R" ></ep-input>
                                <ep-input colspan="8" label="联系电子邮箱"  name="aac017" :property="form.aac017" placeholder="请输入联系电子邮箱"  p="E"  ></ep-input>
                                <ep-input  colspan="8" label="邮政编码" name="aae005" :property="form.aae005" p="R" placeholder="请输入固定电话" ></ep-input>
                            </el-row>
                             <el-row :gutter="10">
                                <ep-select colspan="8" label="户口所在地址" name="bac030" :property="form.bac030"
                                            placeholder="请选择省" codetype="BAE007" p="E"  :datas="{formData:form}" isChange isCodeType></ep-select>
                              
                                <ep-select colspan="4" label="" label-width="0" name="bac031" :property="form.bac031"
                                            placeholder="请选择市" codetype="BAE008" p="E" :datas="{formData: form}" isChange isCodeType
                                            SelectFilterData=" aaa102 like substr(':bae011',0,2)||'%' and aaa102 like '%00' "></ep-select>
                               
                                <ep-select colspan="4" label="" label-width="0" name="bac032" :property="form.bac032" 
                                            placeholder="请选择区县" codetype="BAE009" p="E" :datas="{formData: form}"
                                            SelectFilterData=" aaa102 like substr(':bae012',0,4)||'%'" ></ep-select>
                                <ep-input colspan="8" label="" label-width="0" name="aac010" :property="form.aac010"
                                            placeholder="请输入详细地址" p="E" :datas="{formData:form}"></ep-input>
                            </el-row>
                            <el-row :gutter="10">
                                <ep-select colspan="8" label="通讯地址" name="bae011" :property="form.bae011"
                                            placeholder="请选择省" codetype="BAE007" p="E"  :datas="{formData:form}" isChange isCodeType></ep-select>
                                <ep-select colspan="4" label="" label-width="0" name="bae012" :property="form.bae012"
                                            placeholder="请选择市" codetype="BAE008" p="E" :datas="{formData: form}" isChange isCodeType
                                            SelectFilterData=" aaa102 like substr(':bae011',0,2)||'%' and aaa102 like '%00' "></ep-select>
                                <ep-select colspan="4" label="" label-width="0" name="bae013" :property="form.bae013" 
                                            placeholder="请选择区县" codetype="BAE009" p="E" :datas="{formData: form}"
                                            SelectFilterData=" aaa102 like substr(':bae012',0,4)||'%'" ></ep-select>
                                <ep-input colspan="8" label="" label-width="0" name="aae006" :property="form.aae006"
                                            placeholder="请输入详细地址" p="E" :datas="{formData:form}"></ep-input>
                            </el-row>
                            <el-row :gutter="10">
                                <ep-select colspan="8" label="是否军转干部" name="bac041" :property="form.bac041" placeholder="请选择是否军转干部"  p="R" codetype="BAC041" isCodeType ></ep-select>
                                <ep-input  colspan="16" label="备注" name="aae013" :property="form.aae013" p="E" placeholder="请输入备注" ></ep-input>
                            </el-row>
                            <el-row :gutter="10">
                                <ep-select colspan="8" label="是否报备员额" name="bac014" :property="form.bac014" placeholder="请选择是否报备员额"  p="R" codetype="BAC014" isCodeType ></ep-select>
                                <ep-select colspan="8" label="是否退休延迟"  name="bac041" :property="form.bac041" placeholder="请选择是否退休延迟"  p="R" codetype="BAC041" isCodeType ></ep-select>
                            </el-row>
                        </el-card>
                    </el-collapse-item>
                    <el-collapse-item title="当事人信息" name="2">
                        <el-card class="ep-card">
                            <el-row :gutter="10">
                                <ep-select colspan="8" label="人员类别"  name="aac191" :property="form.aac191" placeholder="请选择人员类别"  p="E" codetype="AAC191" isCodeType ></ep-select>
                                <ep-select colspan="8" label="职务"  name="aac219" :property="form.aac219" placeholder="请选择职务"  p="E" codetype="AAC219" isCodeType ></ep-select>
                                <ep-select colspan="8" label="是否领导职务 " name="aac222" :property="form.aac222" placeholder="请选择是否领导职务"  p="E" codetype="AAC222" isCodeType ></ep-select>
                            </el-row>
                            <el-row :gutter="10">
                                <ep-select colspan="8" label="级别"  name="aac220" :property="form.aac220" placeholder="请选择级别"  p="E" codetype="AAC220" isCodeType ></ep-select>
                                <ep-select colspan="8" label="档次 " name="aac221" :property="form.aac221" placeholder="请选择档次"  p="E" codetype="AAC221" isCodeType ></ep-select>
                            </el-row>
                        </el-card>
                    </el-collapse-item>
                    <el-collapse-item title="改革前人员信息"  name="3">
                        <el-card class="ep-card">
                            <el-row :gutter="10">
                                
                                <ep-select colspan="8" label="人员类别"   name="aac191_ac92" :property="form.aac191_ac92" placeholder="请选择人员类别"  p="E" codetype="AAC191" isCodeType ></ep-select>
                                <ep-select colspan="8" label="岗位级别"   name="aac195_ac92" :property="form.aac195_ac92" placeholder="请选择岗位级别"  p="E" codetype="AAC219" isCodeType ></ep-select>
                                <ep-select colspan="8" label="岗位薪级 "  name="aac196_ac92" :property="form.aac196_ac92" placeholder="请选择岗位薪级"  p="E" codetype="AAC222" isCodeType ></ep-select>
                            </el-row>
                            <el-row :gutter="24">
                                        <ep-input colspan="8" label="改革时基本工资(基本退休工资)"  name="aac196" :property="form.aac196"
                                            p="E" :datas="{formData:form}"></ep-input>
                                        <ep-input colspan="8" label="改革时退休补贴"  name="aae293" :property="form.aae293"
                                            p="E" :datas="{formData:form}"></ep-input>
                                        <ep-input colspan="8" label="国发〔2015〕3号文件规定相应增加的退休费标准"  name="aaa197" :property="form.aaa197"
                                            p="E" :datas="{formData:form}"></ep-input>
                                </el-row>
                        </el-card>
                    </el-collapse-item>
                    <el-collapse-item title="其它信息"  name="4">
                        <el-card class="ep-card">
                            <el-row :gutter="10">
                                <ep-date colspan="8" label="参保日期" name="aae035" :property="form.aae035" placeholder="请选择参加工作日期" 
                                    p="R" format="yyyy-MM-dd" value-format="yyyyMM"></ep-date>                           
                              
                                <ep-date colspan="8" label="首次参保年月"  name="aac049" :property="form.aac049" placeholder="请选择参加工作日期" 
                                    p="R" format="yyyy-MM-dd" value-format="yyyyMM"></ep-date>                                    
                             
                                <ep-date colspan="8" label="账户建立年月" name="aae206" :property="form.aae206" placeholder="请选择参加工作日期" 
                                    p="R" format="yyyy-MM-dd" value-format="yyyyMM"></ep-date>
                               </el-row>
	                            <el-row :gutter="10">
	                                <ep-select colspan="8" label="编制类型"   name="aac022" :property="form.aac022" placeholder="编制类型"  p="E" codetype="AAC022" isCodeType ></ep-select>
	                                <ep-select colspan="8" label="变更原因"   name="aae160" :property="form.aae160" placeholder="变更原因"  p="E" codetype="AAE160" isCodeType ></ep-select>
	                            </el-row>
                           </el-card>
                    </el-collapse-item>
                    <el-card>
					  <el-row type="flex" justify="center">
                        <ep-saveButton id="" top="20" type="primary" bottom="20" ref="save" @formValidate="formValidate" :validate="['form']"
                                       :datas="{panel:panel,formData: form}" name="保存"></ep-saveButton>
                      </el-row>
                </el-card>
                </el-form>

            </el-collapse>
        </el-main>
    </el-main>
</template>

<script src="../js/PsInsureModifyJS.js"></script>
